package pojo;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

public class room {
    private Long room_id;
    private Long host_id;
    private int capacity;
    private int current_number;
    private Date date;
    private int start_time;
    private int end_time;
    private float money;
    private String stadium;
    private String playground;
    private String sports_id;
    private int roomstate;
    private double pk_match;

    public room() {
    }

    public room(Long room_id, Long host_id, int capacity, int current_number, Date date, int start_time, int end_time, float money, String stadium, String playground, String sports_id, int roomstate, double pk_match) {
        this.room_id = room_id;
        this.host_id = host_id;
        this.capacity = capacity;
        this.current_number = current_number;
        this.date = date;
        this.start_time = start_time;
        this.end_time = end_time;
        this.money = money;
        this.stadium = stadium;
        this.playground = playground;
        this.sports_id = sports_id;
        this.roomstate = roomstate;
        this.pk_match = pk_match;
    }

    public Long getRoom_id() {
        return room_id;
    }

    public void setRoom_id(Long room_id) {
        this.room_id = room_id;
    }

    public Long getHost_id() {
        return host_id;
    }

    public void setHost_id(Long host_id) {
        this.host_id = host_id;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public int getCurrent_number() {
        return current_number;
    }

    public void setCurrent_number(int current_number) {
        this.current_number = current_number;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getStart_time() {
        return start_time;
    }

    public void setStart_time(int start_time) {
        this.start_time = start_time;
    }

    public int getEnd_time() {
        return end_time;
    }

    public void setEnd_time(int end_time) {
        this.end_time = end_time;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public String getStadium() {
        return stadium;
    }

    public void setStadium(String stadium) {
        this.stadium = stadium;
    }

    public String getPlayground() {
        return playground;
    }

    public void setPlayground(String playground) {
        this.playground = playground;
    }

    public String getSports_id() {
        return sports_id;
    }

    public void setSports_id(String sports_id) {
        this.sports_id = sports_id;
    }

    public int getRoomstate() {
        return roomstate;
    }

    public void setRoomstate(int roomstate) {
        this.roomstate = roomstate;
    }

    public double getPk_match() {
        return pk_match;
    }

    public void setPk_match(double pk_match) {
        this.pk_match = pk_match;
    }

    @Override
    public String toString() {
        return "room{" +
                "room_id=" + room_id +
                ", host_id=" + host_id +
                ", capacity=" + capacity +
                ", current_number=" + current_number +
                ", date=" + date +
                ", start_time=" + start_time +
                ", end_time=" + end_time +
                ", money=" + money +
                ", stadium='" + stadium + '\'' +
                ", playground='" + playground + '\'' +
                ", sports_id=" + sports_id +
                ", roomstate=" + roomstate +
                ", pk_match=" + pk_match +
                '}';
    }
}
